package cn.ffcs.uec.outStaff.manager;

import java.util.List;

import cn.ffcs.uec.outStaff.model.PictureTable;
import cn.ffcs.uec.outStaff.model.UecOutStaffCostB;
import cn.ffcs.uec.outStaff.model.UecOutStaffCostH;
import cn.ffcs.uec.outStaff.model.UecOutStaffInfo;
import cn.ffcs.uec.outStaff.model.UecOutStaffWork;
import cn.ffcs.uec.outStaff.vo.UecOutStaffInfoVo;
import cn.ffcs.uom.common.vo.PageInfo;

public interface UecOutStaffManager {
	
	public PageInfo queryPageInfoByUecOutStaffInfo(UecOutStaffInfo uecOutStaffInfo, int current,
			int pageSize);
	
	public PageInfo queryPageInfoByUecOutStaffInfoVo(UecOutStaffInfoVo uecOutStaffInfoVo, int current,
			int pageSize);

	public UecOutStaffInfo findUecOutStaffInfo(UecOutStaffInfo uecOutStaffInfo);
	public List<UecOutStaffInfo> findUecOutStaffInfoList(UecOutStaffInfo uecOutStaffInfo);
	public UecOutStaffInfo findUecOutStaffInfoById(UecOutStaffInfo uecOutStaffInfo);
	
	public UecOutStaffInfo findUecOutStaffInfoByOutStaffId(UecOutStaffInfo uecOutStaffInfo);
	
	public UecOutStaffInfo findUecOutStaffInfoOnApproval(UecOutStaffInfo uecOutStaffInfo);
	
	public UecOutStaffWork findUecOutStaffWork(UecOutStaffInfo uecOutStaffInfo);
	
	public String addUecOutStaffInfo(UecOutStaffInfo uecOutStaffInfo);
	
	public PageInfo findUecOutStaffWork(UecOutStaffInfo uecOutStaffInfo, int current,
			int pageSize);
	
	public PageInfo queryPageInfoByUecOutStaffCostB(UecOutStaffWork uecOutStaffWork, int current,
			int pageSize);
	
	public List<UecOutStaffWork> queryUecOutStaffWork(UecOutStaffInfo uecOutStaffInfo);
	
	public PageInfo queryPageInfoByUecOutStaffVocqua(UecOutStaffInfo uecOutStaffInfo, int current,
			int pageSize);

	public PageInfo queryPageInfoByUecOutStaffTramsg(UecOutStaffInfo uecOutStaffInfo, int current,
			int pageSize);

	public PageInfo queryPageInfoByUecOutStaffCostH(UecOutStaffCostB uecOutStaffCostB, int current,
			int pageSize);
	
	public PageInfo queryPageInfoByUecOutStaffManage(UecOutStaffCostH uecOutStaffCostH, int current,
			int pageSize);
	
	/**
     * 判断同一个人同一种类型的照片是否存在
     * @return
     */
    public PictureTable isExitPictureTable(PictureTable pictureTable);
    
    public PictureTable getPicture(String StaffCode, String picType);
    
    public byte[] getPictureInputStream(String StaffCode, String picType);
}
